package com.huilian.iotbox.data.po;

import com.huilian.iotbox.data.dto.QueryParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DisplayRackItem extends QueryParam implements Serializable {

    private Long id;
    /**
     * 父展架ID
     */
    private Long displayRackId;
    /**
     * 层级，如第一层、第二层
     */
    private Integer hierarchy;

    /**
     * 货道，如货道1、货道2
     */
    private Integer freightLane;
    /**
     * 别名，如第一层，第二货道就是 102
     */
    private String alias;
    /**
     * 商品ID
     */
    private Long commodityId;
    /**
     * 库存数，在该展架一款商品总库存数
     */
    private Integer stock;

    private Boolean isDelete;
    private Date createTime;
    private Date updateTime;

    private Integer existStock;

    private Integer reserveStock;

    /**
     * 是否启用库存预警
     */
    private Boolean enableWarnStock;

    /**
     * 预警库存
     */
    private Integer warnStock;

    private String award;
    /**
     * 投币单价，扭蛋机用到
     */
    private Integer rateEach;
    /**
     * 游戏时间，扭蛋机用到
     */
    private Integer gameTime;

    private Integer version;

    /**
     * 质保期提醒
     */
    private Boolean enableWarnPeriodReminder;

    /**
     * 质保期，格式年月日时分秒
     */
    private Date warranty;

    private Integer capacity;

    /**
     * 使能，0：禁用，1：启用
     */
    private Boolean enabled;

    private Integer status;

    private Integer deviceTypeId;

}
